package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishItemVO;
import com.sky.vo.DishVO;
import io.swagger.models.auth.In;

import java.util.List;

public interface DishService {
    void saveWithFlavor(DishDTO dishDTO);


    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void delete(List<Long> ids);

    void updateWithFlavor(DishDTO dishDTO);

    DishVO getById(Long id);

    void updateStatusById(Integer status, Long id);

    List<DishVO> getCategoryById(Long categoryId);

    List<DishItemVO> getSetmealByDishId(Long id);

    List<DishVO> getCategoryByIdWithFlavor(Dish dish);
}
